<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" type="text/css" href="${staticpath}/front/dist/css/sm.css">
    <link rel="stylesheet" type="text/css" href="${staticpath}/front/dist/css/sm-extend.css">
    <link rel="stylesheet" type="text/css" href="${staticpath}/front/dist/css/columns.css">
    <link rel="stylesheet" type="text/css" href="${staticpath}/front/dist/css/base.css">
    <link rel="stylesheet" href="${staticpath}/front/dist/css/manegeAddress.css"/>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_x2zdjz6fue3cv7vi.css"/>
    <title>选择收货地址</title>
    <style>
        .zero-tip {
            display: none;
            position: absolute;
            left: 50%;
            margin: 14rem 0 0 0;
            font-size: 14px;
            transform: translate(-50%, -50%);
            -webkit-transform: translate(-50%, -50%);
            color: #999;
        }
        .order-bg {
            display: none;
            position: absolute;
            left: 50%;
            margin: 10rem 0 0 0;
            transform: translate(-50%, -50%);
            -webkit-transform: translate(-50%, -50%);
            width: 6rem;
            height: 6rem;
        }
    </style>
</head>
<body>
<div class="page-group manageAddress">
    <div class="page">
        <!--头部内容 !-->
        <header class="bar bar-nav">
            <a class="icon icon-left pull-left" href="javascript:back();">返回</a>

            <h1 class="title">选择收货地址</h1>
        </header>
        <div class="content ">
            <img src="${staticpath}/images/address-bg.png" alt="订单" class="order-bg"/>

            <p class="zero-tip">还没收获地址!</p>
            <ul data-url="${basepath}/front/order/toEditAddress">
            </ul>

        </div>
        <a data-url="${basepath}/front/order/toAddAddress" class="bar bar-footer add-new">添加新地址</a>
    </div>
    <input type="hidden" id="refreshed" value="no">
    <script type='text/javascript' src='${staticpath}/front/dist/js/lib/zepto.js' charset='utf-8'></script>
    <script type='text/javascript' src='${staticpath}/front/dist/js/lib/sm.js' charset='utf-8'></script>
    <script type='text/javascript' src='${staticpath}/front/dist/js/lib/sm-extend.js' charset='utf-8'></script>
    <script src="${staticpath}/front/dist/js/order/manegeAddress.js" type="text/javascript" charset="utf-8"></script>
    <script>
        onload = function () {
            var e = document.getElementById("refreshed");
            if (e.value == "no")
                e.value = "yes";
            else {
                e.value = "no";
                location.reload();
            }
        }
        function back() {
            window.history.go(-1);
            return false;
        }
    </script>
</body>

</html>
